package com.fap.core.data;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface DataActionMapper {
	public DataEntity getObject(@Param("id")int id);
	public List<DataEntity> query(@Param("param")DataEntity param, @Param("pageId")int pageId, @Param("pageSize")int pageSize);
	public int getPrimaryKey();
	public void insert(@Param("data")DataEntity data);
	public void insertBatch(@Param("datas")List<DataEntity> datas);
	public void update(@Param("data")DataEntity data);
	public void delete(@Param("data")DataEntity data);	
}
